Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove flatten #10353

Closed
wants to merge 1 commit into from
Closed

Conversation

ZenGround0
Copy link
Contributor

Related Issues

Proposed Changes

Experimental patch to reduce online GC costs of splitstore by removing Flatten before doing vlog GC.

Additional Info

Checklist

Before you mark the PR ready for review, please make sure that:

  • Commits have a clear commit message.
  • PR title is in the form of of <PR type>: <area>: <change being made>
    • example: fix: mempool: Introduce a cache for valid signatures
    • PR type: fix, feat, build, chore, ci, docs, perf, refactor, revert, style, test
    • area, e.g. api, chain, state, market, mempool, multisig, networking, paych, proving, sealing, wallet, deps
  • New features have usage guidelines and / or documentation updates in
  • Tests exist for new functionality or change in behavior
  • CI is green

@ZenGround0
Copy link
Contributor Author

One thing I've noticed going through the logs of my discard node is that regular compactions take as much / longer time then Flatten calls. That challenges the theory that this is going to address the resource contention problems we've been seeing.

A more moderate approach we could take is to use the same number of flatten workers as compaction workers. Without this patch flatten takes at least half of the available CPUs and compaction only ever takes 2. This might explain the slower times for compaction jobs vs flatten jobs.

@ZenGround0
Copy link
Contributor Author

Superceded by this change from #10387

@ZenGround0 ZenGround0 closed this Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant